<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro" lang="en" th:with="unixstamp=${#dates.createNow().time}">
<head th:replace="common::header"></head>
<body>
	<div class="layui-fluid">
		<div class="layui-row">
			<div class="layui-col-md12">
                <div class="layui-fluid">
                    <div class="layui-fluid">
                        <div class="layui-card">
                            <div class="layui-card-header mlk-title layui-bg-cyan">暂存点管理</div>
                            <div class="layui-card-body">
                                <table lay-filter="deposit" class="layui-table" id="deposit"></table>
                            </div>
                        </div>
                    </div>
                </div>
			</div>
		</div>
	</div>


<!--type add-->
<div id="addWasteType" class="mlk-hide">
    <form class="layui-form layui-form-pane" action="">
        <div class="layui-form-item">
            <label class="layui-form-label">暂存点名称</label>
            <div class="layui-input-block">
                <input type="text" name="name" required  lay-verify="required" placeholder="请输入暂存点名称" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">统一标识码</label>
            <div class="layui-input-block">
                <input type="text" name="code" required  lay-verify="required" placeholder="请输入统一标识码" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">地址</label>
            <div class="layui-input-block">
                <input type="text" name="address" required  lay-verify="required" placeholder="请输入地址" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="submitWasteType" >立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary" id="reset">重置</button>
            </div>
        </div>
    </form>
</div>


<!--add-->
<script type="text/html" id="toolbar">
<div class="layui-btn-container">
<button class="layui-btn layui-btn-sm" lay-event="add">添加</button>
</div>
</script>
<script type="text/html" id="tool">
<div class="layui-btn-container">
<button class="layui-btn layui-btn-sm layui-btn-danger" lay-event="del">删除</button>
</div>
</script>

</body>
	<div th:include="common::footer"></div>
	<script type="text/javascript" th:src="@{/js/deposit/deposit.js}"></script>
</html>